<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>Order</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
  </head>
  
  <body>
  	订单详情<br>
    <hr style="dotted #185598;" />
    <table>
    	
    <s:iterator value="#request['orderItem']" id="order">	
    	订单编号：<s:property value="#order.id" /><p/>
    	下单时间：<s:property value="#order.time" /><p/>
    	造型师  ：<s:property value="#order.barber" /><p/>
    	服务类型：<s:property value="#order.service" /><p/>
    	联系电话：<s:property value="#order.phone" /><p/>
    	共计金额：<s:property value="#order.money" /><p/>
    	<td align="justify">
    	 <a href="deleteOrder.action?id=<s:property value="#order.id" /> />"  target=_self>删除订单</a> &nbsp
    	 <a href="payment/pay.jsp?id=<s:property value="#order.id" />&money=<s:property value="#order.money" />"  target=_self>去结算</a> 
    	</td>
    	</tr>	
    </s:iterator>
    </table>
     <hr style="dotted #185598;" />

  </body>
</html>
